home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_11_05
/
1105086a
< prev
next >
Wrap
Text File
|
1993-02-27
|
200b
|
24 lines
class B
{
protected:
int j;
private:
int k;
};
class D : public B
{
public:
int foo();
};
int D::foo()
{
++j; // ok
return k; // error: k not accessible
}